package com.thd.springboottest.mybatis.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * com.thd.springboottest.mybatis.entity.SpecialType
 *
 * @author: wanglei62
 * @DATE: 2022/7/26 10:35
 **/
public class SpecialType {
    private String id;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    private LocalDateTime birtime;
    @JsonFormat(pattern="yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private LocalDate birdate;
    private Boolean sex;
    private BigDecimal balance;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public LocalDateTime getBirtime() {
        return birtime;
    }

    public void setBirtime(LocalDateTime birtime) {
        this.birtime = birtime;
    }

    public LocalDate getBirdate() {
        return birdate;
    }

    public void setBirdate(LocalDate birdate) {
        this.birdate = birdate;
    }

    public Boolean getSex() {
        return sex;
    }

    public void setSex(Boolean sex) {
        this.sex = sex;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }
}
